package org.noranj.dto;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.type.descriptor.sql.VarcharTypeDescriptor;

import com.sun.xml.txw2.annotation.XmlElement;

@Entity
@Table(name="chatroom")
@XmlRootElement(name="chatRoom")
public class ChatRoomDTO {
	
	public ChatRoomDTO (){
		
	}
	@Id
	private int idRoom;
	@Column
	private String name;
	@Column
	private String description;
	
	
	public int getIdRoom() {
		return idRoom;
	}
	
	public void setIdRoom(int idRoom) {
		this.idRoom = idRoom;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getDescription() {
		return description;
	}
	
	public void setDescription(String description) {
		this.description = description;
	}
	
	

}
